package com.appkubes.mall.core.pojo;

import com.appkubes.mall.core.po.MallPayBank;
import com.appkubes.mall.core.po.MallPayBankExample;
import java.util.List;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.JdbcType;

public interface MallPayBankMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallPayBankSqlProvider.class, method="countByExample")
    long countByExample(MallPayBankExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @DeleteProvider(type=MallPayBankSqlProvider.class, method="deleteByExample")
    int deleteByExample(MallPayBankExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @Insert({
        "insert into mall_pay_bank (app_key)",
        "values (#{appKey,jdbcType=VARCHAR})"
    })
    int insert(MallPayBank record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @InsertProvider(type=MallPayBankSqlProvider.class, method="insertSelective")
    int insertSelective(MallPayBank record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallPayBankSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR)
    })
    List<MallPayBank> selectByExampleWithRowbounds(MallPayBankExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @SelectProvider(type=MallPayBankSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR)
    })
    List<MallPayBank> selectByExample(MallPayBankExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @UpdateProvider(type=MallPayBankSqlProvider.class, method="updateByExampleSelective")
    int updateByExampleSelective(@Param("record") MallPayBank record, @Param("example") MallPayBankExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mall_pay_bank
     *
     * @mbg.generated
     */
    @UpdateProvider(type=MallPayBankSqlProvider.class, method="updateByExample")
    int updateByExample(@Param("record") MallPayBank record, @Param("example") MallPayBankExample example);
}